package com.common
{
	import flash.display.MovieClip;
	import flash.utils.getDefinitionByName;

	
	public class Main extends MovieClip
	{
		virtual public function get GAMEPLAY_CLASS() : String{ return "GamePlay";}
		
		public var HELPSCREEN : String = "helpScreen";
		public var OPTIONSSCREEN : String = "optionsScreen";
		public var MAINMENUSCREEN : String = "mainMenuScreen";
		public var PLAYSCREEN : String = "playScreen";
		
		public function Main()
		{
			this.getChildByName(PLAYSCREEN).visible = true;
			
		}
		
		
		public function getGamePlayClass() : IGamePlay{
			var classRef:Class = flash.utils.getDefinitionByName(GAMEPLAY_CLASS) as Class;
			return IGamePlay(classRef);
		}

	}
}